rbtree: Simplify macros
authorBenjamin Otte <otte@redhat.com>
Thu, 5 Mar 2020 05:53:26 +0000 (06:53 +0100)
committerBenjamin Otte <otte@redhat.com>
Thu, 5 Mar 2020 06:59:05 +0000 (07:59 +0100)
commitdc86c744bf2422c0a5d51c718e8e844033388068
treebd53e4d9bceb506d808f8e172c8d3a12acd4d274
parent9fedcec82eaf762648d094f4974f60c44820326a
rbtree: Simplify macros

* NODE_FROM_POINTER() can not be NULL

* shuffle NODE_TO_POINTER() code for readability so that the NULL check
  is on the outside and not the cast
gtk/gtkrbtree.c